﻿@{
    //Layout = null;
    ViewBag.Title = "Test Page";
}
@(Html.Telerik().Window().Name("Wynn")
    .Title("Test Window")
    .Draggable(true)
    .Resizable(resizing => resizing.Enabled(true)
        .MinHeight(250)
        .MinWidth(250)
        .MaxHeight(500)
        .MaxWidth(500)
        )
        .LoadContentFrom("","")
        .Modal(true)
        .Buttons(b => b.Maximize().Close().Refresh())
        .Content(
@<text> This is the content for the window. How <b>Great</b> is that!?
@Html.ActionLink("action", "Index", "Mobile")
</text>)
    .Width(300)
    .Height(300)
    .Visible(false)
)
<a href="" onclick="testFunction();return false;">test function</a>
<script>
    function testFunction() {
        $('#Wynn').data('tWindow').open();
    }

</script>
